package cn.wk.services.impl;

import cn.wk.dao.ScoreDao;
import cn.wk.dao.impl.ScoreDaoImpl;
import cn.wk.entity.Score;
import cn.wk.services.ScoreServices;

import java.util.List;

public class ScoreServicesImpl implements ScoreServices {
    private ScoreDao dao= new ScoreDaoImpl();
    @Override
    public List<Score> getAll(Object... obj) {
        return dao.getAll(obj);
    }

    @Override
    public List<Score> getAlls(Object... obj) {
        return dao.getAlls(obj);
    }

    @Override
    public int MdiffScore(int subject,int sid) {
        return dao.MdiffScore(subject,sid);
    }

    @Override
    public int CountSize(Object... obj) {
        return dao.CountSize(obj);
    }
}
